  /**
  @addtogroup MDR1215LGI_UART UART example for MDR1215LGI demo board
  @latexonly
  @verbatim
  ******************** (C) COPYRIGHT 2026 Milandr ******************************
  * @file    readme.txt
  * @author  Milandr Application Team
  * @version V0.1.0
  * @date    24/04/2026
  * @brief   Description of the UART Example.
  ******************************************************************************
  * THE PRESENT FIRMWARE IS FOR GUIDANCE ONLY. IT AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING MILANDR'S PRODUCTS IN ORDER TO FACILITATE
  * THE USE AND SAVE TIME. MILANDR SHALL NOT BE HELD LIABLE FOR ANY
  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES RESULTING
  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR A USE MADE BY CUSTOMERS OF THE
  * CODING INFORMATION CONTAINED HEREIN IN THEIR PRODUCTS.
  ******************************************************************************
  @endverbatim
  @endlatexonly

@par Example Description

The frequency of the microcontroller is set to 40 MHz using HSI (8 MHz) and PLL (multiplication by 5).
UART2 with PD5 pin ar configured as UART receiver.
UART3 with PD7 pin ar configured as UART transmitter.
Both UART have the same protocol configuration defined by `UART_BAUD`, `UART_WORD`, `UART_STOP_BITS` and `UART_PARITY` definitions.
Default values are 9600 baud, 8 bit, 1 stop bit, no parity.
When UART2 receives any data, it reads received data into `data` variable and then UART3 sends it back.

@par Directory contains:

    - main.c    Main program.


@par Hardware and Software environment:

    - Configure the Eclipse IDE for Embedded C/C++ Developers, RISCV GCC toolchain and OpenOCD with Milandr MCUs support
      according to the article https://support.milandr.ru/base/primenenie/programmirovanie-32-razryadnykh-mk/nachalo-raboty/55472/.
    - Configure demo board jumpers and power supply according to the demo board documentation:
        - "SEL PWR" to select power supply;
        - TDO/RESET/ect.jumpers to setup external or on-board FT2232HL debugger usage;
        - Place "RXD", "TXD", "RXD_LED" and "TXD_LED" jumpers for button and LED;
        - Remove any other jumpers.
    - Connect USB cable to board to be able to communicate via UART.
    - Open any UART terminal, connect to MDR1215LGI demo board with the following settings: 9600 baud, 8 bit, 1 stop bit, no parity.

@par How to use.

To launch the example, you must do the following:
    - Import the project into the Eclipse IDE.
    - Compile the project using one of the existing build configurations.
    - Run the project using one of the existing debug configurations.

 * <h3><center>&copy; COPYRIGHT 2026 Milandr</center></h3>
 */
